package com.pw.lit.service;

import com.pw.lit.bean.Favorite;
import com.pw.lit.bean.FavoriteExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface favorite {
    int countByExample(FavoriteExample example);

    int deleteByExample(FavoriteExample example);

    int insert(Favorite record);

    int insertSelective(Favorite record);

    List<Favorite> selectByExample(FavoriteExample example);

    int updateByExampleSelective(@Param("record") Favorite record, @Param("example") FavoriteExample example);

    int updateByExample(@Param("record") Favorite record, @Param("example") FavoriteExample example);

}
